package cn.vincent.core.fallback;

import cn.vincent.core.webservice.ComputeService;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * hystrix回调类
 *
 * @create 2017-05
 */
@Component
public class ComputeClientHystrix implements ComputeService{

    @Override
    public Integer add(@RequestParam(value = "a") Integer a, @RequestParam(value = "b") Integer b) {
        return -9999;
    }
}
